<template>
  <div class="rightBodyContent">
    <div class="rightBodyContent-in">
      <el-tabs v-model="activeName" type="card">
        <el-tab-pane :label="item.name" :name="item.id" v-for="item in tabList" :key="item.id"></el-tab-pane>
      </el-tabs>
      <applyTable v-if="activeName==1"></applyTable>
      <putStorage v-if="activeName==2"></putStorage>
    </div>
  </div>
</template>

<script>
// import applyTable from "./compcomponents/applyTable";
// import putStorage from "./compcomponents/putStorage";

export default {
  components: {
    applyTable,
    putStorage
  },
  data () {
    return {
      tabList:[
        {
          id:'1',
          name: '申请分配'
        },
        {
          id:'2',
          name: '申请返库'
        }
      ],
      activeName: '1',
    }
  },
  created () {
  },
  methods: {
  },
  mounted () {
  }
}
</script>


